package chapter07;
public class Homework10 {
    static class Demo{
        int i=100;
        public void m(){
            int j=i++;
            System.out.println("i="+i);
            System.out.println("j="+j);
        }
    }
    static class Test{
        public static void main(String[] args){//��� ���
            Demo d1=new Demo();
            Demo d2 = d1;
            d2.m();
            System.out.println(d1.i);
            System.out.println(d2.i);
        }
    }

    //��дһ��main����
    public static void main(String[] args) {
    }
}

